package cn.jhz.learn.blog.component.shiro.exception;

import org.apache.shiro.authc.UnknownAccountException;

public class NullCredentialsException extends UnknownAccountException {
    /**
     * Creates a new CredentialsException.
     */
    public NullCredentialsException() {
    }

    /**
     * Constructs a new CredentialsException.
     *
     * @param message the reason for the exception
     */
    public NullCredentialsException(String message) {
        super(message);
    }

    /**
     * Constructs a new CredentialsException.
     *
     * @param cause the underlying Throwable that caused this exception to be thrown.
     */
    public NullCredentialsException(Throwable cause) {
        super(cause);
    }

    /**
     * Constructs a new CredentialsException.
     *
     * @param message the reason for the exception
     * @param cause   the underlying Throwable that caused this exception to be thrown.
     */
    public NullCredentialsException(String message, Throwable cause) {
        super(message, cause);
    }
}
